# -*- mode: snippet -*-
# name: ES6 method() {..}
# key: f.
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
${1:name}($0) {
  console.log('${1:$(yas/substr yas-text "[^ ]*")} called');
}